#include <stdio.h>

int main(void)
{
 int FsIdxHz[] = {44100, 48000, 32000, 22050, 24000, 16000, 11025, 12000, 8000};
 int FSinSample[]    = {32000, 16000, 10667,  8000,  6400,  5333,  4571,  4000}; 


 unsigned char MemTestData[8];
 
 MemTestData[0] = 0x4D;
 MemTestData[1] = 0xEA;
 MemTestData[2] = 0x6D;
 MemTestData[3] = 0x54;
 MemTestData[4] = 0;
 MemTestData[5] = 0;
 MemTestData[6] = 0;
 MemTestData[7] = 0;
 
 char N, FsIdx, FSin;

 for(N = 48; N<=119; N++)
 {
  FsIdx = (N-48)%9;
  FSin = (N-48)/9;
  printf("( DEC ) - N : %3d | ( HEX ) - N : 0x%x | FsIdx : %d, FSin : %d | FsIdx Hz: %5d, FSin sample : %5d\n", N, N, FsIdx, FSin, FsIdxHz[FsIdx], FSinSample[FSin]);
 }

 for(N = 0; N<8; N++)
	printf("0x%x\n",MemTestData[N]);

 return 0;
}
